#include "unitTest.h"
#include "admin.h"
#include <cppunit/ui/text/TestRunner.h>
//#include "main.cpp"
using namespace std;
using namespace admin;

CPPUNIT_TEST_SUITE_REGISTRATION(testQuestion);
//Question question;

void testQuestion::setUp()
{
    //nothing to do
    x = 0;
}

void testQuestion::tearDown()
{
    //nothing to do
}

void testQuestion::testQns1()
{
    //CPPUNIT_ASSERT(mp.incrementCount() == 10);
    CPPUNIT_ASSERT_EQUAL(true, validateTextFiles("Assignment01.txt"));
}

void testQuestion::testQns2()
{
     CPPUNIT_ASSERT_EQUAL(true, validateNoOfFiles(20));
}

int main(int argc, char* argv[])
{
    CppUnit::TextUi::TestRunner runner;
    runner.addTest(testQuestion::suite());
    runner.run();
}